package com.sskj.lib.bean;

import android.arch.persistence.room.Entity;

import com.sskj.lib.util.NumberUtil;

import java.io.Serializable;

import javax.annotation.Nullable;

@Entity(tableName = "zc_table",primaryKeys = {"zc_id"})
public class ZcTotal implements Serializable {
    @Nullable
    private Integer zc_id;
    private String ttl_money;
    private String ttl_cnymoney;
    private String ttl_usable;
    private String ttl_frost;


    public String getTtl_usable() {
        return ttl_usable;
    }

    public void setTtl_usable(String ttl_usable) {
        this.ttl_usable = ttl_usable;
    }

    public String getTtl_frost() {
        return ttl_frost;
    }

    public void setTtl_frost(String ttl_frost) {
        this.ttl_frost = ttl_frost;
    }

    @Nullable
    public Integer getZc_id() {
        return zc_id;
    }

    public void setZc_id(@Nullable Integer zc_id) {
        this.zc_id = zc_id;
    }

    public String getTtl_money() {
        return ttl_money;
    }

    public void setTtl_money(String ttl_money) {
        this.ttl_money = ttl_money;
    }

    public String getTtl_cnymoney() {
        return NumberUtil.keepNoZero(ttl_cnymoney);
    }

    public void setTtl_cnymoney(String ttl_cnymoney) {
        this.ttl_cnymoney = ttl_cnymoney;
    }
}

